package managedbean.FRM.CustomerPayment;

import entity.FRM.CustomerPayment;
import java.io.Serializable;
import java.util.List;
import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import session.stateless.FRM.CustomerPaymentBeanLocal;

@ManagedBean(name="viewAllCustomerPaymentsManagerBean")
@ViewScoped

public class ViewAllCustomerPaymentsManagerBean implements Serializable {
    
    public ViewAllCustomerPaymentsManagerBean () {
    }
    
    @EJB
    private CustomerPaymentBeanLocal customerPaymentBeanLocal;
    
    public List<CustomerPayment> getCustomerPayments() {
        return customerPaymentBeanLocal.getAllCustomerPayments();
    }

    
}
